package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 菜品口味
 */
@Data
public class DishFlavor extends Fu implements Serializable {

    private static final long serialVersionUID = 1L;

//    private Long id;


    //菜品id
    private Long dishId;


    //口味名称
    private String name;


    //口味数据list
    private String value;


//    @TableField(fill = FieldFill.INSERT)
//    private LocalDateTime createTime;
//
//
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private LocalDateTime updateTime;
//
//
//    @TableField(fill = FieldFill.INSERT)
//    private Long createUser;
//
//
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private Long updateUser;


    //是否删除
    @TableLogic(value = "0", delval = "1")
    private Integer isDeleted;

}
